//
//  DetailViewController.h
//  rss_reader
//
//  Created by Oleg Soldatoff on 4/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataBase.h"

@interface DetailViewController : UIViewController <UIScrollViewDelegate, UIWebViewDelegate> {

  DataBase *_base;

}

@property (strong, nonatomic) NSString *link;
@property (strong, nonatomic) UIWebView *webView;
@property (assign, nonatomic) BOOL loaded;

@property (assign, nonatomic) NSInteger fullPageScrollHeight;
@property (assign, nonatomic) NSInteger userPageScrollHeight;


@property (strong, nonatomic) UIBarButtonItem *backButton;
@property (strong, nonatomic) UIBarButtonItem *forwardButton;
@property (strong, nonatomic) UIBarButtonItem *refreshButton;
@property (strong, nonatomic) UIBarButtonItem *stopButton;
@property (strong, nonatomic) UIBarButtonItem *launchButton;

@property (assign, nonatomic) BOOL willReadState;
@property (strong, nonatomic) DataBase *base;




@end
